![]() |
MPDeleteSemaphore |
||||
Header: | Multiprocessing.h | Carbon status: | Supported | |
Removes a semaphore.
OSStatus MPDeleteSemaphore ( MPSemaphoreID semaphore );
The ID of the semaphore you want to remove.
A result code.
Calling this function unblocks all tasks waiting on the semaphore and the tasks’ respective MPWaitOnSemaphore calls will return with the result code kMPDeletedErr.
Also see the function MPCreateSemaphore.
Introduced with Multiprocessing Services 1.0.
Supported in Carbon. Available in CarbonLib 1.0 and later when MPLibrary 1.0 or later is installed. Exported by CarbonLib 1.0 and later and by MPLibrary 1.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/6/2000)